#include <stdio.h>


int main()
{
	    int i=0x12345678;

	        char* p=(char*)&i;

		    printf("%02x %02x %02x %02x\n", p[0], p[1], p[2], p[3]);

		        int j = *((int*)p);

			    printf("%x %x\n", i, j);

			        return 0;
}

